package com.zhenwei.zscm.model.vo.menu;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class MenuVO {
    @NotEmpty(message = "菜单分组不能为空")
    private String group;
    @NotEmpty(message = "菜单标识不能为空")
    private String menuCode;
    @NotEmpty(message = "菜单名称不能为空")
    private String menu;
    @NotNull(message = "排序不能为空")
    @Min(value = 0, message = "排序不能小于0")
    private Integer orderBy;
}
